<%--
  Created by IntelliJ IDEA.
  User: 许娜
  Date: 2022/1/12
  Time: 19:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/cp/cpAdd.do" method="post">
    <table border="1px" style="width: 500px;margin: auto">
        <tr>
            <td height="25" bgcolor="#66CCFF" align="right" width="31%">菜品名称：</td>
            <td height="25" bgcolor="#FFE3BB" width="66%"><input type="text" name="cpmc" size="45"></td>
        </tr>
        <tr>
            <td height="25" bgcolor="#66CCFF" align="right" width="31%">原&nbsp;&nbsp;&nbsp;料：</td>
            <td height="25" bgcolor="#FFE3BB" width="66%"><input type="text" name="yl" size="45"></td>
        </tr>
        <tr>
            <td height="25" bgcolor="#66CCFF" align="right" width="31%">单&nbsp;&nbsp;&nbsp;价：</td>
            <td height="25" bgcolor="#FFE3BB" width="66%"><input type="text" name="dj" size="45"></td>
        </tr>
        <tr>
            <td height="25" bgcolor="#66CCFF" align="right" width="31%">说&nbsp;&nbsp;&nbsp;明：</td>
            <td height="25" bgcolor="#FFE3BB" width="66%">
                <textarea name="shm" cols="30" rows="3"></textarea>
            </td>
        </tr>
        <tr>
            <td height="25" bgcolor="#66CCFF" align="right" width="31%">菜品类别：</td>
            <td height="25" bgcolor="#FFE3BB" width="66%">
                <select name="lbid">
                    <option>--请选择类别--</option>
                    <c:forEach items="${lbList}" var="lb">
                        <option value="${lb.id}">${lb.cpname}</option>
                    </c:forEach>

                </select>
            </td>
        </tr>
        <tr>
            <td height="25" bgcolor="#66CCFF" align="center" colspan="2">
                <input type="submit" value="添加"></td>
        </tr>
    </table>
</form>
</body>
</html>
